package game;

/**
 * Class that will hold information about unit conversion, and methods to do it.
 * @author Luan Nico
 */
public class Units {
    
    /*
     * Default units:
     *   Size: Meters
     *   Mass: Kilograms
     *   Time: Seconds
     */
    private static final float PIXELS_PER_METER = 8;
    
    public static int getPixelSize(float size) {
        return (int) (PIXELS_PER_METER*size);
    }
    
    public static float getRealSize(int pixels) {
        return pixels/PIXELS_PER_METER;
    }
}
